#ifndef __COMPILE_ONLINE__
#include "header.cpp"
#endif

void test1()
{
    int ret = Solution().Max({1, 3, 0, 100, 0, -1});
    if (ret == 100)
        cout << "测试用例通过" << endl;
    else    
        cout << "没有通过测试用例" << endl;
}

void test2()
{
    int ret = Solution().Max({1, 1, 1, 1});
    if (ret == 1)
        cout << "测试用例通过" << endl;
    else    
        cout << "没有通过测试用例" << endl;
}

int main()
{
    test1();
    test2();

    return 0;
}